﻿#include <QCoreApplication>
#include "iostream"


#define Server_TCP_Port 19731
#define Server_UDP_Port 19732

using namespace std;


int main(int argc, char *argv[])
{
    //QCoreApplication a(argc, argv);

    cout << R"(
   __               __
  / /  __ _ _ __   / _\ ___ _ ____   _____ _ __
 / /  / _` | '_ \  \ \ / _ \ '__\ \ / / _ \ '__|
/ /__| (_| | | | | _\ \  __/ |   \ V /  __/ |
\____/\__,_|_| |_| \__/\___|_|    \_/ \___|_|

================================================
)";
    cout << endl;
    while(true){
        cout << "console:";
        string t_cin;
        cin >> t_cin;
        transform(t_cin.begin(),t_cin.end(),t_cin.begin(),::tolower);



        if(t_cin == "-h" || t_cin == "-help"){ //判断是否为帮助
            cout << "Commands:" << endl
                 << "-help      get help information" << endl
                 << "-version   tool version information" <<endl
                 << "-start         input file path" <<endl
                 << "-stop         set output file name" <<endl
                 << "-sl         set output mirror size, 'n = 1474560'" <<endl
                 << "-         set output mirror size, 'n = 1474560'" <<endl;
        }
        else if(t_cin == "-v" || t_cin == "-version"){ //判断是否为版本查询

        }



    }





    //return a.exec();
}
